[#escape x as x?html]
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>保险单编辑</title>
[#include "/include/jsvalidation.ftl"]
[#include "/include/main.ftl"]
    <script>
        $(function() {
            $("#PolicyEdit").tabs();
        });

    </script>
</head>
<body>
<div class="ui-widget page">
[#include '/top.ftl']

    <div class="content">
    [#include '/leftNav.ftl']
        <div style="width:845px;height:600px;float: left;padding-left: 5px">
            <div class="ui-widget-content ui-corner-all" style="min-height: 600px;">
                <form name="mainForm" method="post" action="" onsubmit="if (va.validate()) formSubmit(this);else return false;">
<INPUT TYPE="hidden" NAME="sn" VALUE="${obj.PolicyObj.sn?default('')}">

                    【<a href="/list">返回保险单列表</a>】
                    <div id="PolicyEdit" style="width:830px">

                        <ul style="border-bottom:#aed0ea 1px solid;">
                            <li><a href="Policy_base">基本资料</a></li>

                        </ul>
                        <div id="Policy_base">
<p>
保单号  <input type="text"  size="20" id="policyNo" name="policyNo" class="max-length-100 ">

<script>$("#policyNo").val("${(obj.PolicyObj.policyNo)?default('')}");</script>
 </p>
<p>
客户sn  <input type="text"  size="20" id="custSn" name="custSn" class="max-length-40 ">

<script>$("#custSn").val("${(obj.PolicyObj.custSn)?default('')}");</script>
 </p>
<p>
车辆信息  <input type="text"  size="20" id="custCarSn" name="custCarSn" class="max-length-40 ">

<script>$("#custCarSn").val("${(obj.PolicyObj.custCarSn)?default('')}");</script>
 </p>
<p>
是否限省内  <input type="text"  size="20" id="provinceLimit" name="provinceLimit" class="validate-number ">

<script>$("#provinceLimit").val("${(obj.PolicyObj.provinceLimit)?default('')}");</script>
 </p>
<p>
是否限驾驶员  <input type="text"  size="20" id="driverLimit" name="driverLimit" class="validate-number ">

<script>$("#driverLimit").val("${(obj.PolicyObj.driverLimit)?default('')}");</script>
 </p>
<p>
保险有效起日期  <input type="text"  size="20" id="insBeginDate" name="insBeginDate" class="validate-date-yyyy-MM-dd hh:mm:ss" onClick="popCalendar(this)" >

<script>$("#insBeginDate").val("${(obj.PolicyObj.insBeginDate?string('yyyy-MM-dd HH:mm:ss'))?default('')}");</script>
 </p>
<p>
保险有效止日期  <input type="text"  size="20" id="insEndDate" name="insEndDate" class="validate-date-yyyy-MM-dd hh:mm:ss" onClick="popCalendar(this)" >

<script>$("#insEndDate").val("${(obj.PolicyObj.insEndDate?string('yyyy-MM-dd HH:mm:ss'))?default('')}");</script>
 </p>
<p>
保险公司  <input type="text"  size="20" id="insCompany" name="insCompany" class="max-length-40 ">

<script>$("#insCompany").val("${(obj.PolicyObj.insCompany)?default('')}");</script>
 </p>
<p>
报价单  <input type="text"  size="20" id="quoteSn" name="quoteSn" class="max-length-40 ">

<script>$("#quoteSn").val("${(obj.PolicyObj.quoteSn)?default('')}");</script>
 </p>
<p>
报价日期  <input type="text"  size="20" id="quoteDate" name="quoteDate" class="validate-date-yyyy-MM-dd hh:mm:ss" onClick="popCalendar(this)" >

<script>$("#quoteDate").val("${(obj.PolicyObj.quoteDate?string('yyyy-MM-dd HH:mm:ss'))?default('')}");</script>
 </p>
<p>
特别约定  <input type="text"  size="20" id="special" name="special" class="max-length-20000 ">

<script>$("#special").val("${(obj.PolicyObj.special)?default('')}");</script>
 </p>
<p>
单据状态  <input type="text"  size="20" id="state" name="state" class="validate-number ">

<script>$("#state").val("${(obj.PolicyObj.state)?default('')}");</script>
 </p>
<p>
是否已经出单  <input type="text"  size="20" id="isValid" name="isValid" class="validate-number ">

<script>$("#isValid").val("${(obj.PolicyObj.isValid)?default('')}");</script>
 </p>
<p>
创建时间  <input type="text"  size="20" id="createTime" name="createTime" class="validate-date-yyyy-MM-dd" onClick="popCalendar(this)" >

<script>$("#createTime").val("${(obj.PolicyObj.createTime?string('yyyy-MM-dd'))?default('')}");</script>
 </p>
<p>
创建用户  <input type="text"  size="20" id="createUser" name="createUser" class="max-length-40 ">

<script>$("#createUser").val("${(obj.PolicyObj.createUser)?default('')}");</script>
 </p>


                        </div>

                </form>
                <script>
                  va = new Validation('mainForm');
                </script>
            </div>

        </div>
    </div>

[#include '/bottom.ftl']
</div>
</body>
</html>
[/#escape]
